package tables

type SchoolPositionCompany struct {
	Model
	PositionCategoryList string `gorm:"type:longtext;comment:所有岗位分类名称:list" json:"position_category_list"`
	CityNameList         string `gorm:"type:longtext;comment:所有城市名称:list" json:"city_name_list"`
	CityIdList           string `gorm:"type:longtext;comment:所有城市id:list" json:"city_id_list"`
	Detail               string `gorm:"type:longtext;comment:详细信息" json:"detail"`
	CompanyName          string `gorm:"type:varchar(128);comment:企业名称" json:"company_name"`
	CompanyLogo          string `gorm:"type:varchar(128);comment:企业标志" json:"company_logo"`
	CompanyAddress       string `gorm:"type:varchar(128);comment:企业地址" json:"company_address"`
	Industry             string `gorm:"type:varchar(128);comment:所属行业" json:"industry"`
	YearsOfExperience    string `gorm:"type:varchar(64);comment:经验年限：应届/几年" json:"years_of_experience"`
	DateOfGraduation     string `gorm:"type:varchar(64);comment:毕业时间" json:"date_of_graduation"`
	PositionType         string `gorm:"type:varchar(64);comment:岗位类型：校招或实习" json:"position_type"`
	DeliverAddress       string `gorm:"type:varchar(512);comment:投递地址：url" json:"deliver_address"`
	PositionDeadline     string `gorm:"type:varchar(64);comment:岗位申请截至时间" json:"position_deadline"`
	IsRelease            uint   `gorm:"type:tinyint(1);comment:是否发布：0不发布，1发布。" json:"is_release"`
}

func (s *SchoolPositionCompany) TableName() string {
	return "school_position_company"
}
